
package at.dcmspl;

import java.util.List;
import javax.ejb.Remote;

/**
 * Is a Interface for the DcmQueueService on the Producer Site
 * @author Hannes Stornig, Gosch Daniel
 */
@Remote
public interface DcmQueueProducerServiceRemote {

    void createDcmQueue(String name);
    
    public void createDcmQueue(DcmQueue dcmqueue);
    
    public void removeDcmQueue(DcmQueue entity);

    public void updateDcmQueue(DcmQueue entity);

    public void addDcmFile(String dcmQueueName, String dcmFileName);
    
    public DcmQueue addDcmFile(DcmQueue dcmQueue, String dcmfilename);
    
    public void addDcmFile(DcmQueue dcmQueue, DcmFile dcmFile);

    public DcmQueue findDcmQueue(Object id);
    
    public DcmQueue findDcmQueueByName(String name);

    public long count();

    public DcmQueue getFirst();

    public List<DcmQueue> getAll();
}
